inspector: git ignore template headers
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 15 May 2014 15:04:48 +0000 (11:04 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 15 May 2014 15:06:08 +0000 (11:06 -0400)
gtk/inspector/Makefile.am

index 32d29a152d61313682df1e04557eb8f425e1aea7..2e50840f02535ffb6176cc45144b1dcbde79bd6a 100644 (file)
@@ -91,16 +91,13 @@ templates =                                 \
 
 template_headers = $(templates:.ui=.ui.h)
 
+BUILT_SOURCES += $(template_headers)
+
 extract_strings = $(top_builddir)/gtk/extract-strings$(BUILD_EXEEXT)
 
 %.ui.h: %.ui $(extract_strings)
        $(AM_V_GEN) $(extract_strings) $< > $@
 
-distclean-local:
-       if test $(srcdir) != .; then    \
-         rm -f $(template_headers);    \
-       fi
-
 EXTRA_DIST +=                          \
        inspector.gresource.xml         \
        $(resource_files)               \